using UnityEngine;
using System.Collections;

[System.Serializable]
public class Wire : MonoBehaviour {
	
	public Wire nextWire;
	public Color lineColor;

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnDrawGizmos() {
		if (lineColor != null) {
			Gizmos.color = lineColor;
		}
		
		if (nextWire != null) {
			Gizmos.DrawLine(this.transform.position, nextWire.transform.position);
		}
		
		Gizmos.DrawWireSphere(this.transform.position, 0.01f);
	}
}
